package sk.fiit.vppj.eventmanager.volunteer;

import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.KeyEvent;

import javax.swing.JComponent;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
/**
 * Main graphic class for administrator view
 * @author Marek
 *
 */
public final class VolunteerView extends JPanel {

	public VolunteerView() {
		setLayout( new GridLayout( 1, 1 ) );
		setMinimumSize( new Dimension( 900, 540 ) );
		JTabbedPane tabbedPane = new JTabbedPane();

		JComponent panel1 = new VolunteerGeneralPanel();
		tabbedPane.addTab( "General", panel1 );
		tabbedPane.setMnemonicAt( 0, KeyEvent.VK_1 );
	

		add( tabbedPane );

	}
}
